BMI\Plugin\BMI_Ajax D

Total Complexity 840
Dependencies 22
Dependents 1
Total lines 3,529
Lines of code 2,534
Logical lines of code 2,064
Comment lines 283
Methods 58
Properties 8

Methods 58

Method Rating Maintainability Complexity Lines of code
parseFilesForBackup()
D
20
66 162
prepareAndMakeBackup()
D
18
62 191
restoreBackup()
D
18
61 192
saveOtherOptions()
D
22
63 151
saveStorageConfig()
D
27
52 114
__construct()
D
27
50 106
saveFilesConfig()
D
26
46 130
scanFilesForBackup()
D
28
40 115
createBackup()
D
32 41 82
sendTroubleshootingDetails()
D
25
36 152
handleQuickMigration()
C
28
28 122
calculateCron()
C
33 26 91
migrationExceptionHandler()
B
34 22 80
removeBackupFile()
B
37 23 64
forceRestoreToStop()
B
40 22 55
backupErrorHandler()
B
38 20 63
forceBackupToStop()
B
42 19 45
checkStagingLocalName()
A
41 13 52
frontEndAjaxError()
A
45 12 37
resetLatestLogs()
A
44 10 40
isMigrationLocked()
A
50 10 25
checkIfPHPCliExist()
A
48 9 31
downloadFile()
A
45 8 40
rrmdir()
A
55 9 19
saveStorageTypeConfig()
A
47 8 32
tastewpStagingCreation()
A
55 8 17
getLatestBackupFile()
S
52 5 24
isRunningBackup()
S
56 5 16
sendTestMail()
S
59 5 13
toggleBackupLock()
S
57 4 15
startLocalStagingCreation()
S
59 4 13
localStagingCreationProcess()
S
59 4 13
logSharing()
S
61 4 12
makeBackupName()
S
46 2 36
dirSize()
S
54 3 19
getDynamicNames()
S
57 3 17
siteURL()
S
69 4 5
actionsAfterProcess()
S
63 3 10
isStagingSiteCreationOngoing()
S
66 3 8
revertUnameProcess()
S
64 3 9
stopBackup()
S
63 3 10
resetConfiguration()
S
62 2 12
fixUnameFunction()
S
61 2 11
migrationErrorHandler()
S
63 2 10
backupExceptionHandler()
S
63 2 10
dismissErrorNotice()
S
81 1 3
getSiteData()
S
69 1 6
getDatabaseSize()
S
66 1 8
handleChunkUpload()
S
80 1 3
getBackupsList()
S
69 1 6
continueRestoreProcess()
S
91 1 2
stagingSitesGetList()
S
69 1 6
stagingRename()
S
67 1 7
stagingPrepareLogin()
S
69 1 6
revertLitespeed()
S
76 1 4
stagingDelete()
S
69 1 6
fixLitespeed()
S
76 1 4
debugging()
S
91 1 2